package com.woniu.service;

import com.woniu.been.entity.News;
import com.woniu.been.entity.vo.NewsVo;
import com.woniu.utils.PageResult;

import java.util.List;

public interface NewsService {
    PageResult findAllNews(NewsVo newsVo, Integer pageNum, Integer pageSize);

    void deleteNews(Integer id);


    List<String> queryOperNameList();

    void insertNews(News sysNews);

    void updateNewsById(News sysNews);

    News findNewsById(Integer id);

}
